// Code generated by MockGen. DO NOT EDIT.
// Source: resource.go
//
// Generated by this command:
//
//	mockgen -destination resource_mock.go -source resource.go -package resource
//
// Package resource is a generated GoMock package.
package resource

import (
	reflect "reflect"

	gomock "go.uber.org/mock/gomock"
)

// MockResource is a mock of Resource interface.
type MockResource struct {
	ctrl     *gomock.Controller
	recorder *MockResourceMockRecorder
}

// MockResourceMockRecorder is the mock recorder for MockResource.
type MockResourceMockRecorder struct {
	mock *MockResource
}

// NewMockResource creates a new mock instance.
func NewMockResource(ctrl *gomock.Controller) *MockResource {
	mock := &MockResource{ctrl: ctrl}
	mock.recorder = &MockResourceMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockResource) EXPECT() *MockResourceMockRecorder {
	return m.recorder
}

// HostManager mocks base method.
func (m *MockResource) HostManager() HostManager {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "HostManager")
	ret0, _ := ret[0].(HostManager)
	return ret0
}

// HostManager indicates an expected call of HostManager.
func (mr *MockResourceMockRecorder) HostManager() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostManager", reflect.TypeOf((*MockResource)(nil).HostManager))
}

// PeerManager mocks base method.
func (m *MockResource) PeerManager() PeerManager {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "PeerManager")
	ret0, _ := ret[0].(PeerManager)
	return ret0
}

// PeerManager indicates an expected call of PeerManager.
func (mr *MockResourceMockRecorder) PeerManager() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PeerManager", reflect.TypeOf((*MockResource)(nil).PeerManager))
}

// SeedPeer mocks base method.
func (m *MockResource) SeedPeer() SeedPeer {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SeedPeer")
	ret0, _ := ret[0].(SeedPeer)
	return ret0
}

// SeedPeer indicates an expected call of SeedPeer.
func (mr *MockResourceMockRecorder) SeedPeer() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeedPeer", reflect.TypeOf((*MockResource)(nil).SeedPeer))
}

// Stop mocks base method.
func (m *MockResource) Stop() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Stop")
	ret0, _ := ret[0].(error)
	return ret0
}

// Stop indicates an expected call of Stop.
func (mr *MockResourceMockRecorder) Stop() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stop", reflect.TypeOf((*MockResource)(nil).Stop))
}

// TaskManager mocks base method.
func (m *MockResource) TaskManager() TaskManager {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "TaskManager")
	ret0, _ := ret[0].(TaskManager)
	return ret0
}

// TaskManager indicates an expected call of TaskManager.
func (mr *MockResourceMockRecorder) TaskManager() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TaskManager", reflect.TypeOf((*MockResource)(nil).TaskManager))
}
